package cn.share.life.api.constant;

/**
 * API 相关的枚举
 *
 * @author 芋道源码
 */
public class ApiServerConstants {

    /**
     * 服务名
     * <p>
     * 注意，需要保证和 spring.application.name 保持一致
     */
    public static final String LOG_RPC_SERVICE = "log-server";

    public static final String LOG_RPC_PREFIX = RpcConstants.RPC_API_PREFIX +  "/log";


    public static final String SYSTEM_RPC_SERVICE = "share-system";

    public static final String SYSTEM_RPC_PREFIX = RpcConstants.RPC_API_PREFIX +  "/system";


    public static final String SMS_RPC_SERVICE = "sms-server";

    public static final String SMS_RPC_PREFIX = RpcConstants.RPC_API_PREFIX +  "/sms";


    public static final String OTHER_RPC_SERVICE = "other-server";

    public static final String OTHER_RPC_PREFIX = RpcConstants.RPC_API_PREFIX +  "/other";


    public static final String FILE_RPC_SERVICE = "file-server";

    public static final String FILE_RPC_PREFIX = RpcConstants.RPC_API_PREFIX +  "/file";
}
